pull: Asynchronous metadata fetch
authorColin Walters <walters@verbum.org>
Tue, 28 Aug 2012 13:41:09 +0000 (09:41 -0400)
committerColin Walters <walters@verbum.org>
Thu, 4 Oct 2012 02:35:33 +0000 (22:35 -0400)
commit5c1dc390ae0e51487f9451fe433f76461f4c4127
tree815257cbfc873571dbf87584bfafd274af917354
parent5f25762122d54057b4c3aa33537c808cecae24f0
pull: Asynchronous metadata fetch

Create a worker thread for processing metadata, reserving the main
thread for HTTP requests.

This can create a very significant efficiency win for large pull
requests since we are much more likely to keep a full pipeline open.

The status display is also nicer now.
Makefile-otutil.am
src/libotutil/ot-worker-queue.c [new file with mode: 0644]
src/libotutil/ot-worker-queue.h [new file with mode: 0644]
src/libotutil/otutil.h
src/ostree/ostree-pull.c